import type { RouteRecordRaw } from 'vue-router';

const Layout = () => import('@/layout/index.vue');
const NotFound = () => import('@/views/error/index.vue');

const routes: RouteRecordRaw = {
	path: '/:path(.*)*',
	name: 'notFoundLayout',
	component: Layout,
	meta: {
		isHide: true,
	},
	children: [
		{
			path: '',
			name: 'notFoundRouter',
			component: NotFound,
		},
	],
};

export default routes;
